package compound.pattern;/** * Created by Administrator on 2018-11-8. * 加入观察者模式 */public interface QuackObservable {    public  void  registerObserver(Observer observe);    public  void  notifyObservers();}